```tsx
import { createSignal } from "solid-js"

export function ControlledTagsInput() {
  const [value, setValue] = createSignal(["React", "Vue"])

  const service = useMachine(tagsInput.machine, {
    get value() {
      return value()
    },
    onValueChange(details) {
      setValue(details.value)
    },
  })

  return (
    // ...
  )
}
```
